<template>
  <div>
    <w-nav-bar
      title="工具"
      :back="false"
      :more-home="false"/>
    <group>
      <cell
        title="图片识别"
        link="/tool/imagefont"
        is-link/>

      <cell
        title="编码/解码"
        link="/tool/encode"
        is-link/>

      <cell
        title="二维码"
        link="/tool/qrcode"
        is-link/>

      <cell
        title="PDF查看器"
        link="/tool/pdf"
        is-link/>
    </group>

    <group v-if="isLogin">
      <cell
        title="相册"
        link="/tool/photo"
        is-link/>

      <cell
        title="视频"
        link="/tool/video"
        is-link/>
    </group>
  </div>
</template>

<script>

import { mapGetters } from 'vuex'
import { Cell, Group } from 'vux'
export default {
  name: 'ToolIndex',
  components: {
    Cell,
    Group
  },
  computed: {
    ...mapGetters(['isLogin'])
  }
}
</script>

<style scoped>

</style>
